Api.DestroyAsync method
Closes the link to the KINGSTAR Subsystem and terminates the Subsystem as an asynchronous operation.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public async Task<KsError> DestroyAsync()
Public Function DestroyAsync() As Task(Of KsError)
Return value
Task: Represents an asynchronous operation.
KsError: A return code of a method.
Remarks
DestroyAsync closes the application’s link to the KINGSTAR Subsystem and if no process are connected, the Subsystem is stopped. This must be the last KINGSTAR method in an application.
Examples
N/A
See also